package edu.ntnu.controller;

import edu.wsu.KheperaSimulator.RobotController;

/*
 * Stopping robot when finished
 * 
 */
public class Finished extends State {
	
	public Finished(RobotController newRobot) {
		super(newRobot);
		System.out.println("Work finished");
		mapBuilder.saveMap();
	}
	
	@Override
	public boolean doAction() {
		robot.sleep(10000);
		return false;
	}
	
}